import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 98152
 * Date: 2024-07-01
 * Time: 10:37
 */
public class Test {
    public static void main(String[] args) {
        int[] arr = {1,2,3};
        int[] newArr = Arrays.copyOf(arr, arr.length);
        System.out.println(Arrays.toString(newArr));
        int[] a = {10,20,30,40}, b[] = {{1,2}, {2,3,4}};
    }
}
